﻿@model System.Web.Mvc.HandleErrorInfo

@{
    ViewBag.Title = "错误";
}

<hgroup class="title">
    <h1 class="error">错误。</h1>
    <h2 class="error">处理你的请求时出错。</h2>

    <span style="display: none;">
        <h2>@Model.ControllerName/@Model.ActionName</h2>

        @if (Model.Exception != null)
        {
            <h3>@Model.Exception.Message</h3>
            <div>@Model.Exception.StackTrace</div>

            if (Model.Exception.InnerException != null)
            {
            <hr />
            @Model.Exception.InnerException.ToString();
            }
        }
    </span>

</hgroup>
